package com.xiaoyu.awakening.records.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * OperateTypeEnums
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@Getter
@AllArgsConstructor
public enum OperateTypeEnums {
    //登录
    LOGIN("login", "登录"),
    //退出登录
    LOGIN_OUT("login_out", "退出登录"),
    //新增,
    ADD("add", "新增"),
    //物理删除
    DELETE("delete", "物理删除"),
    //逻辑删除
    LOGIC_DELETE("logic_delete", "逻辑删除"),
    //修改
    UPDATE("update", "修改"),
    //查询
    QUERY("query", "查询"),
    //详情
    DETAILS("details", "详情");
    /**
     * 操作类型
     */
    private final String operateType;
    /**
     * 操作描述
     */
    private final String desc;
}
